a11184305f3ab9d01d4051169a8a19be7c83f6d0,sudokil/core/src/com/custardgames/sudokil/entities/ecs/systems/DoorToggleSystem.java,DoorToggleSystem,turnOffDoor,#Entity#,56
Before Change
Entity doorTile = event.getEntity();
if (doorTile != null)
{
DoorOffProcess doorOffProcess = new DoorOffProcess(doorTile);
EventManager.get_instance().broadcast(new ProcessEvent(entity, doorOffProcess));
}
}
}
After Change
{
ProcessQueueComponent processQueueComponent = processQueueComponents.get(entity);
processQueueComponent.clearQueue();
EventManager.get_instance().broadcast(new ProcessEvent(entity, getDoorOffProcesses(entity)));
}
private void turnOnDoor(Entity entity)